﻿@model IfSoft.OA.Entities.BankBill
           
<script type="text/javascript">
//$(document).ready(function () { $('.date').datepicker({ dateFormat: "dd/mm/yy" }); });
</script>

@if (Model != null && Model.BankBillDetails != null && Model.BankBillDetails.Count > 0)
{
    foreach (var detail in Model.BankBillDetails)
    { 
          <tr id=@string.Format("{0}-{1}", "bankBillDetail", detail.Id)>
            <th>日期</th>
            <td>@detail.KeyDate <a onclick="deleteDetail(@detail.Id); return false;">删除</a></td>
            <th>描述</th>
            <td>@detail.Description</td>
        </tr>   
    }
}           

<tr>
    <th>日期1 <span class="required">*</span></th>
    <td>
        <input type="text" id="KeyDate1"  name="KeyDate1" class="datepicker" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" id="DetailDescription1" name="DetailDescription1" class="description" />
    </td>
</tr>
<tr>
    <th>日期2</th>
    <td>
        <input type="text" id="KeyDate2"  name="KeyDate2" class="datepicker" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" id="DetailDescription2" name="DetailDescription2" class="description" />
    </td>
</tr>
<tr>
    <th>日期3</th>
    <td>
        <input type="text" id="KeyDate3"  name="KeyDate3" class="date keydate" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" id="DetailDescription3" name="DetailDescription3" class="description" />
    </td>
</tr>
<tr>
    <th>日期4</th>
    <td>
        <input type="text" id="KeyDate4"  name="KeyDate4" class="date keydate" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" id="DetailDescription4" name="DetailDescription4" class="description" />
    </td>
</tr>

<tr><td colspan="4">[该功能未开通]上传附件 [正式版可以上传任意多附件]</td></tr>
<tr>
    <th>文件1</th>
    <td>
        <input type="file" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" class="description" />
    </td>
</tr>
<tr>
    <th>文件2</th>
    <td>
        <input type="file" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" class="description" />
    </td>
</tr>
<tr>
    <th>文件3</th>
    <td>
        <input type="file" />
    </td>
    <th>描述</th>
    <td>
        <input type="text" class="description" />
    </td>
</tr>

